package com.hl.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hl.domain.Test.UserTest;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ConsultWait {
    private Long id;
    private String type;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTime;
    private String content;
    private Long teacherId;
    private Long userId;
    private String status;
//    一对多 用户和咨询师
    private List<UserTest> userList;
    private List<Teacher> teacherList;

}
